package com.fruit.pojo.promotion;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

import lombok.Data;

/**
 * 活动用户信息表（多级返利）
 *
 * @author shibeilei
 * @version 2018.03.17 16:18
 */
@Data
public class ActivityUserInfo implements Serializable{

	private static final long serialVersionUID = 1L;
    private int id;
    private int activityId;
    private int userId;
    private int parentId;
    private String realName;
    private String phone;
    private BigDecimal addConsume;
    private BigDecimal addShare;
    private BigDecimal addRebate;
    private BigDecimal addRebateDream;
    private BigDecimal addRepeat;
    private BigDecimal curAddRepeat;
    private int repeatNumber;
    private String state;
    private String createTime;
    private String updateTime;
    private long version;
    private String type;
    
    private BigDecimal salesVolume = BigDecimal.ZERO;
    private Set<Integer> allChilds = new HashSet<>();
}
